In [1]:
# Standard setup block for running Python code
from __future__ import division, print_function
import os
if os.path.split(os.getcwd())[-1] == "Lab notebooks":
os.chdir("../../")
print("Moved to experiment root directory")
from Modules.processing import *
from Modules.plotting import *
plt.style.use("Config/plotstyle.mplstyle")
%matplotlib inline
Got to the lab about 2 PM.
Homed turbine, tow, y-, and z-axes.
Tank level is 2.44 m -- good.
Put one cup of seeding in the tank on the side we will be measuring first, and did a dummy tow at 1.2 m/s to mix it up.
Checking Vectrino SNR -- Up near 15 dB where seeded.
2:30 PM -- Starting "Wake-1.0-0.125"
Confirmed that z-location of Vectrino was scaled properly by turbine height.
6:47 PM -- Finished "Wake-1.0-0.125"
At negative limit, y-RPOS is -1.5249 m.
Homing y- and z-axes.
7:01 PM -- Starting Wake-1.0-0.25. Added a cup of seeding before run 1.
11:14 PM -- Wake-1.0-0.25 complete. Ending for the day. Backed up data.
y-axis at negative limit RPOS = -1.52494.
In [76]:
Section("Wake-1.0-0.25").process(nproc=1, nruns="new")
In [77]:
WakeProfile(1.0, 0.25).plot_mean_u()
watermark()
In [78]:
# Setting things up
setup_time_sec = 3600
n_setup_times = 4
# Seconds per tow at each speed
seconds = {0.8 : 90 + 200,
1.0 : 84 + 240,
1.2 : 80 + 300}
# Wake runs
runs_per_wake = 43
nwake = 4
wake_speed = 1.0
# Runs for strut torque and strut covers
strut_covers_runs = 22
strut_torque_runs = strut_covers_runs*2
# Tare drag and torque
tare_drag_runs = 14
tare_torque_runs = 30
tare_drag_dur = 200
tare_torque_dur = 120
total_time_sec = n_setup_times*setup_time_sec + runs_per_wake*nwake*seconds[wake_speed] \
+ strut_covers_runs*seconds[wake_speed] + strut_torque_runs*tare_torque_dur \
+ tare_drag_runs*tare_drag_dur + tare_torque_runs*tare_torque_dur
total_hours = total_time_sec/3600
hours_per_day = 10
total_days = total_hours/hours_per_day
print(total_hours, total_days)